home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / UTILFILE / HARDUTL2.LZH / SEARCH.DOC < prev    next >
Text File  |  1985-05-08  |  2KB  |  52 lines

  1.       SEARCH.COM is from PC Magazine May 14, 1985 page 243
  2.                    by Steve Holzner (c) 1985.  
  3.                     Original Name LOCATE.COM.
  4.  
  5. This program is to allow the user of a hard disk to search for an 
  6. ASCII string throughout a disk, across any or all subdirectories.  
  7. It even strips the 8th bit so it works right with WordStar files.  
  8. The DOS FIND command has a similar mission, but can only search a 
  9. specified  file.  Some  commercial  programs  will  search  on  a 
  10. specified  directory,  but SEARCH will search every path that you 
  11. give it in the order given in a file named PATH.DAT,  which  must 
  12. be in the ROOT directory.
  13.  
  14. Since  sub-directories  are  involved,   DOS  2.x  or  higher  is 
  15. required.   SEARCH  has been successfully tested with MS-DOS 2.11 
  16. on a Compaq Plus.
  17.  
  18.          Command Syntax:  SEARCH text to search for<cr>
  19.  
  20. A sample PATH.DAT file:
  21.  
  22. \WS
  23. \SECTION1
  24. \SECTION1\A
  25. \SECTION1\B
  26. \WP
  27. \MM
  28. A:
  29.  
  30.             PATH.DAT IS LIMITED TO 300 BYTES MAXIMUM.
  31. Note that you can even have SEARCH check more than one disk drive 
  32. if you want.  The root directory of the default drive is searched 
  33. automatically.  If you wish to search a root directory of another 
  34. drive,  do NOT use `a:\` in PATH.DAT, or the program will hang. A 
  35. Ctrl-Break  will  put  you back in control.   To  search  a  root 
  36. directory, use the drive letter and colon only.
  37.  
  38. SEARCH  permits  you  to  enter  a search  string  of  up  to  20 
  39. characters, and returns a total of 40 characters to show context.  
  40. It IS case sensitive,  so it only returns EXACT matches.  It does 
  41. not  pause  when  the screen fills,  so if you  think  there  are 
  42. multiple  matches,  you may want to use the DOS MORE  filter,  or 
  43. turn on the printer echo for a hard copy.
  44.  
  45. I  renamed  the program from the original LOCATE.COM  because  it 
  46. conflicts  with  a  Public Domain program  that  finds  filenames 
  47. across sub-directories.
  48.  
  49. Jim Nelden
  50. Normal, Illinois
  51. 
  52. conflicts  with  a  Public Domain program  that  finds